package ltd.hxya.novel.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import ltd.hxya.novel.admin.entity.UserRole;

import java.util.List;


public interface UserRoleService extends IService<UserRole> {


    int revoke(UserRole userRole);

    // 根据userIdList进行相应的删除操作
    void deleteByIds(List<Integer> idList);

    //  1、根据userId，查询出role_id集合
    List<UserRole> getRoleList(Integer userId);
}
